class Asset < ActiveRecord::Base

  belongs_to :post
  
  has_attachment  :storage => :file_system, 
                  :max_size => 1.megabytes,
                  :content_type => :image
                  
  validates_as_attachment
  
end